package eoeProject.edenOfEast.core;

import java.util.Properties;

public class EOEProperties extends Properties{

	private static final long serialVersionUID = 5170116415081331868L;

	//Propertiesオブジェクトを生成
    private static final EOEProperties Instance = new EOEProperties();

    public static EOEProperties getInstance(){
    	return Instance;
    }

    private EOEProperties() {
        try {
        // ファイルを読み込む
        	load(this.getClass().getClassLoader().getResourceAsStream("EOE.properties"));

        } catch (Exception e) {
          System.out.println("Exception : " + e);
        }
      }

    public String getProperty(String[] args){
    	return getProperty(args);
    }

}